home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 July
/
CMCD0704.ISO
/
Software
/
Shareware
/
Comunicatii
/
jaeger
/
jaeger.exe
/
{app}
/
Tools
/
ToolTechnorati.py
< prev
next >
Wrap
Text File
|
2004-02-18
|
637b
|
34 lines
#!/bin/python
"""
ToolTechnorati.py
David Janes
BlogMatrix
2004.02.12
"""
import sys
import urllib
import Tool
class ToolTechnorati(Tool.ToolInterface):
"""
The interface for your tool. Simply create an instance of this object and Jaeger
will figure it out.
"""
def __init__(self):
Tool.ToolInterface.__init__(self)
def get_label(self, selected):
return "Technorati Cosmos"
def invoke(self, selected, operations):
operations.open_url("http://www.technorati.com/cosmos/links.html?rank=&url=" + \
urllib.quote(selected.url))
#
# creating it will register it
#
ToolTechnorati()